package com.quanfaqiang.demo1.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quanfaqiang.demo1.pojo.Statetypes;

import java.util.List;

public interface StatetypesService {
    List<Statetypes> selectAllType();

    Page<Statetypes> selectAll(Integer currentPage, Integer pageSize);

    Boolean selectTypeName(String typeName);

    Page<Statetypes> serchTypeName(String typeName, Integer currentPage, Integer pageSize);

    void update(Statetypes type);

    void add(Statetypes type);

    void delete(Integer id);

    void deleteIds(List<Integer> ids);
}
